package com.dgut.legalservice.service.impl;

import com.dgut.legalservice.dao.IArea;
import com.dgut.legalservice.domain.Area;
import com.dgut.legalservice.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private IArea areaDao;

    @Override
    public int addArea(Area area) {
        return areaDao.insertSelective(area);
    }
}
